/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enteties.article;

import java.util.Collection;
import java.util.List;
import javax.ejb.Local;
import util.article.StockDetails;

/**
 *
 * @author Joris
 */
@Local
public interface StockFacadeLocal {

    void create(Stock stock);

    void edit(Stock stock);

    void remove(Stock stock);

    Stock find(Object id);

    List<Stock> findAll();

    List<Stock> findRange(int[] range);

    int count();

    public StockDetails convert(Stock s);

    public Collection<StockDetails> convert(Collection<Stock> stocks);
    
}
